//
//  UploadImage.h
//  QiXing
//
//  Created by 零零壹 on 2017/2/20.
//  Copyright © 2017年 梁晨. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^SuccessBlock)(id responseBody);

typedef void(^FailureBlock)(NSString *error);

@interface UploadImage : NSObject

+(instancetype)sharedClient;

-(void)doUploadImage:(NSString *)methodString parameters:(id)parameters image:(UIImage*)image successBlock:(SuccessBlock)success failureBlock:(FailureBlock)failure;
@end
